#include "StdAfx.h"
/// Copyright 2012, Alex Averian, Yonan Research
/// Released under BSD Licence
 

#include "qcombobox.h"
using namespace micro::gui;


bool QCombo::Create(QWindow *parent, int id, UINT style)
{



	return CreateBaseWindow(GetWndClassName() ,_T(""),
			style
			| WS_CHILD
			| WS_VISIBLE		
			,QRect(0,0,0,0),
			parent, id  );
	 
}




/////////////////////////////////////////////////////////////////////////////////////////////////////////////

QComboBox::QComboBox(HWND h)
{
	Attach(h);	
}

QComboBox::~QComboBox(void)
{
}

bool QComboBox::Create(QWindow *parent, int id, UINT style)
{
	 CreateBaseWindow(GetWndClassName() ,_T(""),
			style
			| WS_CHILD
			| WS_VISIBLE		
			,QRect(0,0,0,0),
			parent, id  );
	return _window != nullptr;
}


 